package com.anolesoft.yr.mbus.contm.service.impl;

import com.anolesoft.yr.mbus.contm.entity.ContmBaseClause;
import com.anolesoft.yr.mbus.contm.entity.ContmStyleMain;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
import com.anolesoft.yr.mbus.contm.entity.ContmBaseMainExample;
import com.anolesoft.yr.mbus.contm.entity.ContmBaseMain;
import com.anolesoft.yr.mbus.contm.dao.ContmBaseMainDao;
import com.anolesoft.yr.mbus.contm.service.ContmBaseMainService;
@Service
public class ContmBaseMainServiceImpl extends ServiceImpl<ContmBaseMainDao, ContmBaseMain> implements ContmBaseMainService{

    @Override
    public long countByExample(ContmBaseMainExample example) {
        return baseMapper.countByExample(example);
    }
    @Override
    public int deleteByExample(ContmBaseMainExample example) {
        return baseMapper.deleteByExample(example);
    }
    @Override
    public List<ContmBaseMain> selectByExample(ContmBaseMainExample example) {
        return baseMapper.selectByExample(example);
    }
    @Override
    public int updateByExampleSelective(ContmBaseMain record,ContmBaseMainExample example) {
        return baseMapper.updateByExampleSelective(record,example);
    }
    @Override
    public int updateByExample(ContmBaseMain record,ContmBaseMainExample example) {
        return baseMapper.updateByExample(record,example);
    }
    @Override
    public int updateBatch(List<ContmBaseMain> list) {
        return baseMapper.updateBatch(list);
    }
    @Override
    public int updateBatchSelective(List<ContmBaseMain> list) {
        return baseMapper.updateBatchSelective(list);
    }
    @Override
    public int batchInsert(List<ContmBaseMain> list) {
        return baseMapper.batchInsert(list);
    }
    @Override
    public int insertOrUpdate(ContmBaseMain record) {
        return baseMapper.insertOrUpdate(record);
    }
    @Override
    public int insertOrUpdateSelective(ContmBaseMain record) {
        return baseMapper.insertOrUpdateSelective(record);
    }

    @Override
    public List<ContmBaseMain> selectAll(Page<ContmBaseMain> page, LambdaQueryWrapper<ContmBaseMain> like) {
        return baseMapper.selectAll( page, like);
    }




}
